while(require(dplyr) == F<caret>){
# do something
}